package seven;

/**
 * @author zzb
 * @since 2021-01-13
 */

//启动
public class Test {
  public static void main(String[] args) {
    Person man = new Man();
    Person lady = new Lady();

    Clothing jacket = new Jacket();
    Clothing trouser = new Trouser();
    jacket.personDressCloth(man);//男人穿夹克
    trouser.personDressCloth(man);//男人穿裤子
    jacket.personDressCloth(lady);//女人穿夹克
    trouser.personDressCloth(lady);//女人穿裤子
  }
}
